package com.hua.designpattern.creational.builder;

import java.util.ArrayList;
import java.util.List;

public class BuilderMealLunch extends BuilderMeal {

	public BuilderMealLunch() {
		System.out.println("BuilderMealLunch!!");
		this.meal = new MealLunch();
		meal.setDrinks(new ArrayList<Drink>());
		meal.setBurgers(new ArrayList<Burger>());
	}

	@Override
	public void builderDrink(List<Drink> drinks) {
		System.out.println("invoke Lunch drink build!!");
		this.meal.getDrinks().addAll(drinks);

	}

	@Override
	public void builderBurger(List<Burger> burgers) {
		System.out.println("invoke Lunch burger build!!");
		this.meal.getBurgers().addAll(burgers);

	}

}
